// import Vue from 'vue'
import App from './App';
import router from './router';
// import ElementUI from 'element-ui'
// import 'element-ui/lib/theme-chalk/index.css'
// import './styles/element-variables.scss'
import 'font-awesome/css/font-awesome.min.css';
import './assets/css/index.styl';
import './utils/filter_utils.js';
import Api from './api';
import Util from './utils/index';
import './plugins/axios';
import messageIndex from '@/utils/validate';
import Packages from '@/components/packages/index.js'; //导入组件库
import * as Regex from '@/utils/regex';
import './assets/icon/iconfont.css'

// Vue.use(ElementUI)

Vue.prototype.$api = Api;
Vue.prototype.$util = Util;
Vue.prototype.$messageIndex = messageIndex;
Vue.prototype.$regex = Regex;

Vue.config.productionTip = false;

Vue.use(Packages);
window.bus = new Vue();
new Vue({
  el: '#app',
  router,
  template: '<App/>',
  components: { App }
});
